package com.cxx.home.dto.password;

import com.cxx.common.PlainView;
import com.cxx.common.ReadView;
import com.fasterxml.jackson.annotation.JsonView;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@JsonView(PlainView.class)
public class PasswordDto
{
    @Schema(description = "id")
    @JsonView(ReadView.class)
    private Long id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "网站")
    private String website;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "类别")
    private String category;

    @Schema(description = "所属人")
    private String owner;

    @Schema(description = "备注")
    private String remark;
}
